package cn.com.roy.thread.t3_2_3.joinexception;

public class ThreadC extends Thread{

    private  ThreadB threadB ;


    public ThreadC(ThreadB threadB){
        this.threadB = threadB;
    }

    @Override
    public void run() {
        super.run();
        threadB.interrupt();
    }
}
